package com.pactera.madp.cp.api.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;



/**
 * 朋友圈任务表(CpMomentsTask)实体类
 *
 * @author jun.lei
 * @since 2022-05-13 10:14:19
 */
@Data
@TableName("cp_moments_task")
@ApiModel(value = "朋友圈任务表")
public class CpMomentsTaskEntity  implements Serializable {
    private static final long serialVersionUID = 309883355133219753L;
    
    @ApiModelProperty(value="主键")
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    
    @ApiModelProperty(value="修改时间")
    private LocalDateTime updateTime;
    
    @ApiModelProperty(value="删除标记")
    @TableLogic(value="0",delval="1")
    private String delFlag;
    
    @ApiModelProperty(value="租户ID")
    private Integer tenantId;
    
    @ApiModelProperty(value="企业id")
    private Integer corpId;
    
    @ApiModelProperty(value="创建者")
    private Integer createUser;
    
    @ApiModelProperty(value="创建者姓名")
    private String createUserName;
    
    @ApiModelProperty(value="朋友圈类型 0：企业发表 1：个人发表")
    private Integer filterType;
    
    @ApiModelProperty(value="状态0未发布 1已发布  2进行中 3已结束")
    private Integer status;
    
    @ApiModelProperty(value="标题")
    private String title;
    
    @ApiModelProperty(value="部门id列表")
    private String deptId;
    
    @ApiModelProperty(value="员工id列表")
    private String employeeId;
    
    @ApiModelProperty(value="内容")
    private String content;
    
    @ApiModelProperty(value="结束时间")
    private LocalDateTime endTime;
    
    @ApiModelProperty(value="图片路径")
    private String imgUrl;
    
    @ApiModelProperty(value="视频路径")
    private String videoUrl;
    
    @ApiModelProperty(value="链接地址")
    private String linkUrl;
    
    @ApiModelProperty(value="员工微信id")
    private String employeeWxId;
    
    @ApiModelProperty(value="临时素材库id列表")
    private String mediaId;

    @ApiModelProperty(value = "发布时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "发布时间")
    private LocalDateTime beginTime;

    @ApiModelProperty(value = "朋友圈id")
    private String momentId;

    @ApiModelProperty(value = "审批意见")
    private String opinion;

}

